home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000394_anthonypieper@cs.com_Fri Nov 7 09:33:51 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: anthonypieper@cs.com (newexpectuser)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Problem with Kermit spawned from Expect script sending files
  5. Date: 7 Nov 2003 05:27:31 -0800
  6. Organization: http://groups.google.com
  7. Lines: 34
  8. Message-ID: <f0bb0f39.0311070527.6ce76ffc@posting.google.com>
  9. References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu>
  10. NNTP-Posting-Host: 209.251.39.194
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1068211652 13357 127.0.0.1 (7 Nov 2003 13:27:32 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Fri, 7 Nov 2003 13:27:32 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14650
  17.  
  18. Frank,
  19.  
  20.   I looked at the article and have tried this simple connection:
  21.  
  22. #!/usr/bin/kermit +
  23. echo "Starting"
  24. set host /pipe ssh -e none -l /user:root 111.111.11.111
  25. lineout "mypassword"
  26. echo "Connected"
  27. quit
  28.  
  29.  
  30. With this above it does connect, but still waits for me to enter a
  31. password, I thought the lineout would do this for me, that is why I
  32. had mentioned EXPECT earlier, it can pass this value via the "send"
  33. command in EXPECT.
  34.  
  35. Tony
  36. Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu>...
  37. > In article <f0bb0f39.0311061216.1ba040a0@posting.google.com>,
  38. > newexpectuser wrote:
  39. > : I have the following lines from my EXPECT script, which first spawns
  40. > : KERMIT, but it is failing trying to get a file called testfile.txt
  41. > : 
  42. > If you are using Kermit, you don't need to use Expect.  Just do it all
  43. > as a Kermit script.  Mixing Kermit and Expect only causes needless 
  44. > complications.  For a bit more explanation, read the beginning of:
  45. >   http://www.columbia.edu/kermit/ftpscripts.html
  46. > Although it's a page about our FTP client, the explanatory points apply
  47. > just as well to your application.
  48. > - Frank
  49.